<template>
    <div style="width: 100%; height: 20%"></div>
    <n-result status="404" size="large" title="404 资源不存在" description="生活总归带点荒谬">
        <template #footer>
            <n-button @click="toHome">回到首页</n-button>
        </template>
    </n-result>
</template>

<script setup lang="ts">



    const $router = useRouter();
    const toHome = () => {
        $router.replace("/");
    };
</script>
